﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="module.ascx.cs" Inherits="ExtraClub.Web.Controls.club.module" %>
<%@ Register Src="~/Modules/Controls/form_command_update/module.ascx" TagName="FormCommandPanel"
    TagPrefix="extra" %>

<!-- My Club Control -->
<div id="my_club">
    <div class="header">
    </div>
    <%if (SiteContext.Current.Club != null) {%>
    <div class="viewer">
        <strong class="has-layout" style="padding-top: 15px; color:#000">Admin Profile</strong>
        <hr />
        <table>
            <tr>
                <td class="col-1">
                    <%=WebUtils.GetUIText("~/Modules/Forms/club", "user-label")%>
                </td>
                <td class="col-2">
                    <%=SiteContext.Current.Club.UserName%>
                </td>
            </tr>
            <tr>
                <td class="col-1">
                    <%=WebUtils.GetUIText("~/Modules/Forms/club", "email-label")%>
                </td>
                <td class="col-2">
                    <%=SiteContext.Current.Club.UserEmail%>
                </td>
            </tr>
            <tr>
                <td class="col-1">
                    <%=WebUtils.GetUIText("~/Modules/Forms/club", "pass-label")%>
                </td>
                <td class="col-2">
                    <%=SiteContext.Current.Club.Password%>
                </td>
            </tr>
            <tr>
                <td class="col-1">
                    <%=WebUtils.GetUIText("~/Modules/Forms/club", "firstname-label")%>
                </td>
                <td class="col-2">
                    <%=SiteContext.Current.Club.FirstName%>
                </td>
            </tr>
            <tr>
                <td class="col-1">
                    <%=WebUtils.GetUIText("~/Modules/Forms/club", "familyname-label")%>
                </td>
                <td class="col-2">
                    <%=SiteContext.Current.Club.FamilyName%>
                </td>
            </tr>
        </table>
        <strong class="has-layout" style="padding-top: 15px; color:#000">Club Profile</strong>
        <hr />
        <table>
            <tr>
                <td class="col-1">
                    <%=WebUtils.GetUIText("~/Modules/Forms/club", "companyname-label")%>
                </td>
                <td class="col-2">
                    <%=SiteContext.Current.Club.Name%>
                </td>
            </tr>
            <tr>
                <td class="col-1">
                    Club Email
                </td>
                <td class="col-2">
                    <%=SiteContext.Current.Club.Email%>
                </td>
            </tr>
            <tr>
                <td class="col-1">
                    <%=WebUtils.GetUIText("~/Modules/Forms/club", "category-label")%>
                </td>
                <td class="col-2">
                    <%=SiteContext.Current.Club.ClubCategoryName%>
                </td>
            </tr>
            <tr>
                <td class="col-1">
                    <%=WebUtils.GetUIText("~/Modules/Forms/club", "idnumber-label")%>
                </td>
                <td class="col-2">
                    <%=SiteContext.Current.Club.IDNumber%>
                </td>
            </tr>
            <tr>
                <td class="col-1">
                    <%=WebUtils.GetUIText("~/Modules/Forms/club", "full-address-label")%>
                </td>
                <td class="col-2">
                    <%=string.Format("{0}-{1}, {2}/{3}", SiteContext.Current.Club.Zip, SiteContext.Current.Club.CityRegion, SiteContext.Current.Club.HouseNumber, SiteContext.Current.Club.Apartment)%>
                </td>
            </tr>
            <tr>
                <td class="col-1">
                    <%=WebUtils.GetUIText("~/Modules/Forms/club", "cellularphone-label")%>
                </td>
                <td class="col-2">
                    <%=string.Format("{0:0##}-{1:###-##-##}", SiteContext.Current.Club.CellularPhonePrefix, SiteContext.Current.Club.CellularPhone)%>
                </td>
            </tr>
            <tr>
                <td class="col-1">
                    <%=WebUtils.GetUIText("~/Modules/Forms/club", "homephone-label")%>
                </td>
                <td class="col-2">
                    <%=string.Format("{0:0#}-{1:###-##-##}", SiteContext.Current.Club.HomePhonePrefix, SiteContext.Current.Club.HomePhone)%>
                </td>
            </tr>
        </table>
    </div>
    <%} %>
    <hr />
    <extra:FormCommandPanel runat="server" ID="FormCommandPanel" FormModuleName="club"
        Visible="true" />
</div>
